package com.cictec.middleware.api.distribute;

import java.util.Map;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import com.cictec.middleware.commons.utils.Result;
import com.cictec.middleware.core.pojo.MiddlewarePosition;

/**
 * 位置信息入口类
 * 
 * @author Administrator
 *
 */
public interface MiddlewarePositionService {


	/**
	 * 处理位置信息方法（位置信息、进出站）
	 * 
	 * @param position
	 */
	@RequestMapping(value = "/distribute/positionUpload")
	public Result positionUpload(@RequestBody MiddlewarePosition position);
	
	@RequestMapping(value = "/distribute/enterOutUpload")
	public Result enterOutUpload(@RequestBody MiddlewarePosition position);

//	@RequestMapping(value = "/distribute/sendData")
//	public Result sendData(@RequestBody Map data);
//	
//	@RequestMapping(value = "/distribute/sendLineAverageSpeedToStomp")
//	public Result sendLineAverageSpeedToStomp(@RequestBody Map data);
}
